package com.yswy.domain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yswy.domain.entity.AppUser;
import com.yswy.domain.vo.gld.filter.AppUserPageFilter;
import com.yswy.domain.vo.gld.res.AppUserPageResVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface AppUserMapper extends BaseMapper<AppUser> {

    List<AppUser> getDownUserAgentLevel();
    Page<AppUserPageResVO> extendsPage(Page<AppUserPageFilter> page,
                                       @Param("req") AppUserPageFilter req,
                                       @Param("userId") Long userId);
}
